/**
 * Request.java
 */
package fss.common.communication;

import fss.util.rmi.RmiId;

/**
 * A request is the communication object between Service Registry and Remote Service.
 * 
 * @author thinh
 * @see fss.common.communication.Message
 * @see fss.common.communication.Response
 *
 */
public abstract class Request extends Message {
    private static final long serialVersionUID = 1L;
    /**
     * Default constructor.
     */
    protected Request() {
        super();
    }
    /**
     * Instantiate a request with source and desintation identifiers.
     * @param sourceId the source id.
     * @param destinationId the destination id.
     */
    protected Request(RmiId sourceId, RmiId destinationId) {
        super(sourceId, destinationId);
    }
    /**
     * Instantiate a request..
     * @param sourceId the source id.
     */
    protected Request(RmiId sourceId) {
        super(sourceId);
    }
}
